package com.lc.YYGH.model.office;

import com.lc.YYGH.model.base.BaseMongoEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.repository.MongoRepository;

@Data
@ApiModel(description = "Profession")
@Document("Profession")
public class Profession extends BaseMongoEntity {
    @ApiModelProperty(value = "律师编号")
    @Indexed //普通索引
    private String lawercode;

    @ApiModelProperty(value = "专业编号")
    @Indexed //普通索引
    private String professioncode;

    @ApiModelProperty(value = "专业名称")
    private String professionname;

}
